package com.youlei.newgraduateproject.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author youlei
 * @since 2021-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SysWarehousestock对象", description="")
public class SysWarehousestock extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "仓库产品id")
    private Long goodId;

    @ApiModelProperty(value = "仓库产品数量")
    private Double goodQuantity;

    @ApiModelProperty(value = "所在仓库中的位置")
    private String location;

    @ApiModelProperty(value = "所在仓库的id")
    private Long warehouseId;

    private Integer deleted;

}
